import { createApp } from 'vue'
import App from './App.vue'
import './assets/reset.scss'
// element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// vue-router
import router from './router/index.ts'
// pinia
import { createPinia } from 'pinia'
// 路由守卫
// import './permission.ts'

const pinia = createPinia()

const app = createApp(App)
app.use(pinia)
app.use(ElementPlus)
app.use(router)
app.mount('#app')
